﻿@using Abp.Web.Security.AntiForgery
@model GCT.Foundation.ViewModels.LoginViewModel
@inject IAbpAntiForgeryManager AbpAntiForgeryManager
@{
    AbpAntiForgeryManager.SetCookie(Context);
    ViewBag.Title = "用户登录";
    Layout = "_Layout";
}

@section CSS{

    <link href="pages/account/login.css" rel="stylesheet" asp-append-version="true" />

}

<div class="container">

    <div class="text-center">
        <img src="~/imgs/logo.png"/> 
        <h1 class="h2 mb-3 font-weight-normal ">GCT系统监控服务区</h1>
    </div>

    <form class="form-signin" method="post">
        <input type="hidden" name="returnUrl" value="@ViewBag.ReturnUrl" />

        <div class="form-group">
            <label for="TenancyName">@L("TenancyName")</label>
            <input type="text" id="TenancyName" name="TenancyName" class="form-control" placeholder="@L("TenancyName")">
        </div>

        <div class="form-group">
            <label for="UsernameOrEmailAddress">@L("UserNameOrEmail")</label>
            <input type="text" id="UsernameOrEmailAddress" class="form-control" name="UsernameOrEmailAddress" placeholder="@L("UserNameOrEmail")">
        </div>
        <div class="form-group">
            <label for="password">@L("Password")</label>
            <input type="password" id="password" name="Password" class="form-control" placeholder="@L("Password")">
        </div>

        <div class="checkbox mb-3">

            <label for="rememberMe"> <input type="checkbox" id="rememberMe" name="RememberMe" value="true"> @L("RememberMe")</label>
        </div>

        <button type="submit" class="btn btn-lg btn-primary btn-block">登录</button>
    </form>
</div>